package com.bat.spring.circulardepend;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author: liusen
 * @date: 2022-04-10
 * @desc:
 **/
@Component
public class Wife {

	@Resource
	private Husband husband;

	//public Wife(Lover lover) {
//		this.lover = lover;
//	}

	public Wife() {
		System.out.println("public Wife()");
	}
}
